<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.css">
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap-theme.min.css">
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css">

        <!--[if lt IE 9]>
          <script src="js/vendor/html5-3.6-respond-1.1.0.min.js"></script>
        <![endif]-->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/vendor/jquery-1.11.0.min.js"><\/script>')</script>

        <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/vendor/bootstrap.min.js"></script>
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/main.js"></script>
       
        <script>
            function addclass(id) {
                localStorage.id = id;
            }
        </script>
        <script>
            $(document).ready(function() {
                id = localStorage.id;
                if (id != '') {
                    $(".nav li").removeClass('active');
                }
                $(".nav li:eq(" + id + ")").addClass('active');
            });</script>
    </head>
    <body>
        <!--[if lt IE 7]>
          <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
        <header>
            <!-- Top bar started -->
            <div class="top-bar">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-4 col-md-4 col-sm-5 col-xs-12">
                            <ul class="social-icons list-unstyled">
                                <li class="youtube"><a href="#"></a></li>
                                <li class="linked-in"><a href="#"></a></li>
                                <li class="twitter"><a href="#"></a></li>
                                <li class="blogger"><a href="#"></a></li>
                            </ul>
                        </div>
                        <div class="col-lg-8 col-md-8 col-sm-7 col-xs-12">
                            <h2 class="pull-right">24x7  Toll Free Help Line: 1800 180 55 22</h2>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Top Bar Ends Here -->

            <!-- Navbar Started here -->
            <div class="menu-bar">
                <div class="container">
                    <div class="navbar navbar-default navbar-static-top">
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                                <span class="sr-only">Toggle navigation</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                            <a class="navbar-brand" href="<?php echo Yii::app()->createUrl(HOME) ?>" onclick="addclass('0');"><img class="img-responsive"  src="<?php echo Yii::app()->request->baseUrl; ?>/img/1.png"></a>
                        </div>
                        <div class="collapse navbar-collapse">
                            <ul class="nav navbar-nav pull-right menu-links">
                                <li class="active border-right"><a href="<?php echo Yii::app()->createUrl(HOME) ?>" onclick="addclass('0');">Home</a></li>
                                <li class="border-right"><a href="<?php echo Yii::app()->createUrl('/about') ?>" onclick="addclass('1');">About Us</a></li>
                                </span>
                               
                                <li class="border-right dropdown"><a href="#"  onclick="addclass('2');"class="dropdown-toggle" data-toggle="dropdown">Programs <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li><a href="<?php echo Yii::app()->createUrl('/ragging') ?>" onclick="addclass('2');">Anti Ragging</a></li>
                                        <li><a href="<?php echo Yii::app()->createUrl('/womenindistress') ?>" onclick="addclass('2');">Womenin Distress</a></li>
                                        <li><a href="<?php echo Yii::app()->createUrl('/judicialreforms') ?>" onclick="addclass('2');">Judicial Reforms</a></li>
                                        <li><a href="<?php echo Yii::app()->createUrl('/auditingreforms') ?>" onclick="addclass('2');">Auditing Reforms</a></li>
                                        <li><a href="<?php echo Yii::app()->createUrl('/sarvashikshaabhyan') ?>" onclick="addclass('2');">Sarvashikshaabhyan</a></li>
<!--                                        <li><a href="<?php #echo Yii::app()->createUrl('/site/RacialDiscrimination') ?>" onclick="addclass('2');">Racial Discrimination</a></li>-->

                                    </ul>
                                </li>                               
                                <li class="border-right"><a href="<?php echo Yii::app()->createUrl('/joinus') ?>" onclick="addclass('9');">Join Us</a></li>
                                <?php #if (!empty(Yii::app()->user->id)) { ?>
                                    <li class="border-right dropdown"><a href="#"  onclick="addclass('4');"class="dropdown-toggle" data-toggle="dropdown">Master <b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="<?php echo Yii::app()->createUrl('/pageType/admin') ?>">Manage Page</a></li>
                                            <li><a href="<?php echo Yii::app()->createUrl('/pageContent/admin') ?>">Manage Page Content</a></li>
                                            <li><a href="<?php echo Yii::app()->createUrl('/article/admin') ?>">Article</a></li>
                                            <li><a href="#">Something else here</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="<?php echo Yii::app()->createUrl('/site/logout') ?>">Logout</a></li>
                                <?php #} else { ?>
                                    <li><a class="padding-right-zero" href="#" onclick="addclass('10');">Contact Us</a></li>
                                <?php #} ?> </ul>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Navbar Ends here -->
        </header>